/**
 * Created by admin on 2018/4/26.
 */

(function (){

  var rootHtml = $(":root");

  var rootResize = function (){

    var fontSize =$(window).width()<640?$(window).width()/16:40;

    //if(fontSize>=67.5) fontSize = 67.5;

    rootHtml.css("font-size",fontSize);

  }

  rootResize();

  $(window).resize(function (){

    rootResize();


  });

})();

